package no.gnet.edvd.types;


public class Wallet extends Persist{
	private static final long serialVersionUID = 4208641387256338704L;
	public double amount;
	public int playerid;
	public Currency currency;
	
	public Wallet(double amount, int playerid, Currency currency) {
		super();
		this.amount=amount;
		this.playerid=playerid;
		this.currency=currency;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public Currency getCurrency() {
		return currency;
	}

	@Override
	public String toString() {
		return "Wallet [amount=" + amount + ", playerid=" + playerid
				+ ", currency=" + currency + "]";
	}


}
